function circleFun(r){
    function circunference(){
        this.r=r;
        return(2*Math.PI*r);
    }
    function area(){
        this.r=r;
        return(Math.PI*r*r);
    }
    console.log({"circunference":circunference(),"area":area()})
}

module.exports=circleFun;